package com.sanweibook.jhook.biz.sys;

import com.sanweibook.jhook.dal.model.sys.SysUserRole;
import com.sanweibook.jhook.dal.page.Page;

import java.util.List;

/**
* Created by twg on 17/3/16.
*/
public interface SysUserRoleService {

    void delete(SysUserRole sysUserRole);

    void deleteById(Long id);

    void deletedByIds(List<Long> ids);

    SysUserRole get(SysUserRole sysUserRole);

    SysUserRole getById(Long id);

    void save(SysUserRole sysUserRole);

    void batchSave(List<SysUserRole> sysUserRole);

    void update(SysUserRole sysUserRole);

    int queryCount(SysUserRole sysUserRole);

    List<SysUserRole> queryAll(SysUserRole sysUserRole);

    List<SysUserRole> queryByIds(List<Long> ids);

    Page<SysUserRole> queryByPages(SysUserRole sysUserRole);
}